<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <link rel="stylesheet" type="text/css" href="http://localhost:8080/css/add_msgpay.css"/>
</head>
<body>
<div class="header">
    <div class="header_head">
        <div>
            <img src="http://localhost:8080/images/logo_touming.gif" width="200" height="65">
            <img src="http://localhost:8080/images/logotxt.png" >
        </div>
        欢迎使用APP管理平台
    </div>
    <!-- 中部 -->
    <div class="mation">
        <div class="mation_left">
            <ul>
                <% if(port_id == 1){%>
                    <li>
                        <a href="/home">查询个人资料</a>
                    </li>
                    <li>
                        <a href="/chenck">更改登陆密码</a>
                    </li>
                    <li>
                        <a href="/paylist">查询本月工资条</a>
                    </li>
                <% }else if(port_id == 2){ %>
                    <li>
                        <a href="/home">查询个人资料</a>
                    </li>
                    <li>
                        <a href="/chenck">更改登陆密码</a>
                    </li>
                    <li>
                        <a href="/paylist">查询本月工资条</a>
                    </li>
                    <li>
                        <a href="/sel_permsg">查询员工信息</a>
                    </li>
                    <li>
                        <a href="/add_permsg">录入新员工信息</a>
                    </li>

                <% }else{ %>
                    <li>
                        <a href="/home">查询个人资料</a>
                    </li>
                    <li>
                        <a href="/chenck">更改登陆密码</a>
                    </li>
                    <li>
                        <a href="/paylist">查询本月工资条</a>
                    </li><li>
                        <a href="/edu_update">制定学历薪资</a>
                    </li>
                    <li>
                        <a href="/sta_update">制定员工薪资</a>
                    </li>
                    <li>
                        <a href="/sle_msgpay">查询员工薪资</a>
                    </li><li>
                        <a href="/add_msgpay">录入员工薪资</a>
                    </li>

                <% }  %>
            </ul>
        </div>
        <div class="mation_mat">
            <table cellpadding="0" cellspacing="0" border="0" style="color: white; width: 99%; margin: 20px auto;">
                <tr align="center">
                    <th colspan="2" style="border: 0px;"><span style="color: red; " >温馨提醒：</span><label style="color: white;">请认真核对个人信息，再进行添加。</label></th>
                </tr>
                <tr align="center">
                    <th colspan="2" style="border: 0px;"><span style="color: white; " >当前存在工号：</span><label style="color: red;"><%= res[0].min%>~<%= res[0].max%></label></th>
                </tr>
                <form action="/add_msgpay" method="post" enctype="application/x-www-form-urlencoded">
                    <tr align="center">
                        <th style="border-top: 2px solid #e2e2e2;">工号</th>
                        <th style="border-left: 2px solid #e2e2e2;border-top: 2px solid #e2e2e2;">
                            <input type="text" placeholder="请输入添加的工号" name="uid" style="width: 98%; padding: 8px 0px 8px 8px; border: 0px;outline: none;" />
                        </th>
                    </tr>

                    <tr align="center">
                        <th>薪资年月</th>
                        <th style="border-left: 2px solid #e2e2e2;">
                            <input type="month" name="birtmp" style="width: 98%; padding: 8px 0px 8px 8px; border: 0px;outline: none; " />
                        </th>
                    </tr>
                    <tr align="center">
                        <th>KBI效绩</th>
                        <th style="border-left: 2px solid #e2e2e2;">
                            <input type="number" name="kbi" style="width: 98%; padding: 8px 0px 8px 8px; border: 0px;outline: none; " />

                        </th>
                    </tr>
                    <tr align="center">
                        <th>提成</th>
                        <th style="border-left: 2px solid #e2e2e2;">
                            <input type="number" name="perfor" style="width: 98%; padding: 8px 0px 8px 8px; border: 0px;outline: none; " />
                        </th>
                    </tr>
                    <tr align="center">
                        <th>学历</th>
                        <th style="border-left: 2px solid #e2e2e2;">
                            <select name="edu_id" style="width: 99%; padding: 8px 0px 8px 8px; border: 0px;outline: none; cursor: pointer;">
                                <option value="1" >高中</option>
                                <option value="2" >大专</option>
                                <option value="3" >本科</option>
                                <option value="4" >硕士</option>
                                <option value="5" >博士</option>
                            </select>
                        </th>
                    </tr>
                    <th>岗位</th>
                    <th style="border-left: 2px solid #e2e2e2;">
                        <select name="sta_id" style="width: 99%; padding: 8px 0px 8px 8px; border: 0px;outline: none; cursor: pointer;">
                            <option value="1" >普通员工</option>
                            <option value="2" >行政主管</option>
                            <option value="3" >财务总监</option>
                        </select>
                    </th>
                    <tr align="center">
                        <th colspan="2">
                            <input type="submit" style="width: 99%; padding: 8px 0px 8px 8px; border: 0px; cursor: pointer; color: white; background-color: #34bcc8; border-radius: 11px;" value="添加薪资" />
                        </th>
                    </tr>
                </form>

            </table>
        </div>
        <div class="mation_right">
            <img src="http://localhost:8080/images/head.jpg" />

            <table cellspacing="0" cellpadding="0" border="0" style="width: 100%; color: white;">
                <tr align="center">
                    <td>
                        <label>用户名:</label>
                    </td>
                    <td>
                        <label><%= loginame %></label>
                    </td>
                </tr>
                <tr align="center">
                    <td>
                        <label>职务:</label>
                    </td>
                    <td>
                        <label><%= port %></label>
                    </td>
                </tr> <tr align="center">
                    <td>
                        <label>登录账号:</label>
                    </td>
                    <td>
                        <label><%= result[0].uid %></label>
                    </td>
                </tr>
                <tr align="center">
                    <td>
                        <label>登录时间:</label>
                    </td>
                    <td>
                        <label><%= date %></label>
                    </td>
                </tr>

            </table>

            <a href="/logout" class="btn">退出登录</a>
        </div>
    </div>

    <!-- 低部 -->
    <div class="foot">
        <p style="color: gray;">Copyright 2018 Carporate WordPress Theme Theme by <span><a href="javascript:;" style="color: red; text-decoration: none;">ThimPress</a></span></p>
    </div>
</div>
</body>
</html>
<script type="text/javascript">

</script>
